# _ * _ coding:utf-8 _ * _
import tornado.ioloop
import tornado.web
import os
import yy

# online edit

application = tornado.web.Application([
        (r"/poll", "yy.poll"),
        (r"/.*", "yy.view"),
],template_path = os.path.join(os.path.dirname(__file__), "templates"))
        
if __name__ == "__main__":
    application.listen(8888)
    tornado.ioloop.IOLoop.instance().start()

